package array01;

public class DrumKitTestDrive {
    public static void main(String[] argStrings) {

        DrumKit d = new DrumKit();
        d.playSnare();

        if (!d.snare) {
            d.playTopHat();
        }
    }
}

class DrumKit {

    public boolean snare = true;


    public void playSnare() {
        System.out.println("bang bang ba-bang");
    }

    public void playTopHat() {
        System.out.println("ding ding da-ding");
    }
}

class Drum{

}

